package com.zhongwang.mms.module.tool.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhongwang.mms.base.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 办公物资台账
 * @Author: 闫薇
 */
@SuppressWarnings("ALL")
@Data
@EqualsAndHashCode(callSuper = true)
public class ReportAccOffMaterModel  extends BaseModel {
    /** 主键 */
    @ExcelIgnore
    private Integer matId;
    @ExcelProperty(value = "物资名称",index = 1)
    private String matName;
    @ExcelProperty(value = "资产编号",index = 2)
    private String matCode;
    @ExcelProperty(value = "尺寸",index = 3)
    private String matSize;
    @ExcelProperty(value = "材质",index = 4)
    private String matType;
    @ExcelProperty(value = "品级",index = 5)
    private String matLevel;
    @ExcelProperty(value = "具体位置",index = 6)
    private String matSpeLoc;
    @ExcelProperty(value = "使用部门",index = 7)
    private String matDepart;
    @ExcelProperty(value = "来源",index = 8)
    private String matSource;
    @ExcelProperty(value = "责任人",index = 9)
    private String matPerson;
    @ExcelProperty(value = "使用状态",index = 10)
    private String matStatus;
    @ExcelProperty(value = "关键信息",index = 11)
    private String matInfo;
    @ExcelProperty(value = "备注",index = 12)
    private String matRemark;

    /** 删除状态 */
    @ExcelIgnore
    private Integer matIsdelete;
    /** 排序的编号 */
    @ExcelIgnore
    private Integer matSortNum;
    /** 创建人 */
    @ExcelIgnore
    private String matCreUser;
    /** 创建时间 */
    @ExcelIgnore
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date matCreDate;
    /** 最后一次编辑人 */
    @ExcelIgnore
    private String matUpdUser;
    /** 最后一次编辑时间 */
    @ExcelIgnore
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date matUpdDate;

    @ExcelProperty(value = "序号",index = 0)
    private String tempId;
}
